call plug#begin('~/.vim/plugged')

" Project tree
Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }

" Color plugin
" Plug 'morhetz/gruvbox'

" Auto-completer
" Plug 'ycm-core/YouCompleteMe'

call plug#end()

" Color
" colorscheme gruvbox
set background=dark

" Some settings 
set number
set tabstop=4
set shiftwidth=4
set smarttab
set expandtab
set hlsearch

" Switch-on syntax hilight
syntax on

" Mappeds
map <C-n> :NERDTreeToggle<CR>

" Auto-completer settings
" let g:ycm_confirm_extra_conf = 0
" let g:ycm_global_ycm_extra_conf = '~/.vim/plugged/YouCompleteMe/.ycm_extra_conf.py'
" let g:ycm_key_invoke_completion = '<C-Space>'
